package com.hyq.market.base;

import java.util.Map;

/**
 * Created by Administrator on 2017/7/19 0019.
 */

public abstract class AbsModel implements IMode {
    protected  NetCallback netCallback;



    @Override
    public void getData() {

    }

    @Override
    public <T> void getData(T t) {
        if (t==null)
            getData();
    }




    @Override
    public void getData(NetCallback netCallback) {
        this.netCallback=netCallback;
        getData();
    }

    @Override
    public <T> void getData(T t, NetCallback netCallback) {
        this.netCallback=netCallback;
        getData(t);
    }


}
